<template>
  <div>
    当前页{{ currentPage }} <br />
    每页条数{{ pageSize }}
    <Pagination
      :currentPage="currentPage"
      @update:currentPage="currentPage = $event"
    />

    <Pagination :currentPage.sync="currentPage" :pageSize.sync="pageSize" />
  </div>
</template>

<script>
import Pagination from "./components/Pagination";
export default {
  name: "App",
  components: {
    Pagination,
  },
  data() {
    return {
      currentPage: 1,
      pageSize: 300,
    };
  },
};
</script>

<style></style>
